//
//  xsConfigurationMusicView.h
//  digital_robot_demo
//
//  Created by xskj on 2024/8/29.
// 配音
// @[@"我的",@"官方"]

#import <UIKit/UIKit.h>
#import "NSString+WordSize.h"
#import "xsConfigurationMusicCollectionView.h"

NS_ASSUME_NONNULL_BEGIN


@protocol xsConfigurationMusicViewProtoCol <NSObject>

@optional
- (void)xsConfigurationMusicViewxsXbuttonBeClick:(UIButton *)button;

@end

@interface xsConfigurationMusicView : UIView

@property (nonatomic,assign)id<xsConfigurationMusicViewProtoCol> delegate;
- (instancetype)initWithButtonTitles:(NSArray *)buttonTitles;
- (void)xsChangeFrame;

////audioType;// 0我的 1官方
@property (nonatomic,copy)void (^xsConfigurationMusicCellCallbackBlock)(xsConfigurationMusicCollectionViewCellModel *cbModel,NSInteger audioType);

////audioType;// 0我的 1官方
// 改变全部的cell为选中或者未选中状态 YES选中  NO未选中
- (void)xsConfigurationMusicVChangAllCellClickState:(BOOL)clickStatu withAudioType:(NSInteger)audioType;

@end

NS_ASSUME_NONNULL_END
